(global.webpackJsonp = global.webpackJsonp || []).push([ [ "forum/myRelease" ], {
    "3e3b": function(e, t, i) {
        i.r(t);
        var n = i("a93b"), o = i("b36e");
        for (var r in o) "default" !== r && function(e) {
            i.d(t, e, function() {
                return o[e];
            });
        }(r);
        i("d219");
        var s = i("f0c5"), a = Object(s.a)(o.default, n.b, n.c, !1, null, "e776c934", null, !1, n.a, void 0);
        t.default = a.exports;
    },
    "3ee0": function(e, t, i) {
        (function(e) {
            Object.defineProperty(t, "__esModule", {
                value: !0
            }), t.default = void 0;
            var n = i("a71e"), o = i("26cb"), r = i("db8f"), s = i("f425"), a = i("8434"), u = (i("4771"), 
            c(i("801c"))), d = i("b806");
            function c(e) {
                return e && e.__esModule ? e : {
                    default: e
                };
            }
            function f(e) {
                return function(e) {
                    if (Array.isArray(e)) return h(e);
                }(e) || function(e) {
                    if ("undefined" != typeof Symbol && Symbol.iterator in Object(e)) return Array.from(e);
                }(e) || function(e, t) {
                    if (e) {
                        if ("string" == typeof e) return h(e, t);
                        var i = Object.prototype.toString.call(e).slice(8, -1);
                        return "Object" === i && e.constructor && (i = e.constructor.name), "Map" === i || "Set" === i ? Array.from(e) : "Arguments" === i || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i) ? h(e, t) : void 0;
                    }
                }(e) || function() {
                    throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
                }();
            }
            function h(e, t) {
                (null == t || t > e.length) && (t = e.length);
                for (var i = 0, n = new Array(t); i < t; i++) n[i] = e[i];
                return n;
            }
            function p(e, t) {
                var i = Object.keys(e);
                if (Object.getOwnPropertySymbols) {
                    var n = Object.getOwnPropertySymbols(e);
                    t && (n = n.filter(function(t) {
                        return Object.getOwnPropertyDescriptor(e, t).enumerable;
                    })), i.push.apply(i, n);
                }
                return i;
            }
            function l(e, t, i) {
                return t in e ? Object.defineProperty(e, t, {
                    value: i,
                    enumerable: !0,
                    configurable: !0,
                    writable: !0
                }) : e[t] = i, e;
            }
            c(i("03b8"));
            var g = {
                components: {
                    navforum: function() {
                        i.e("forum/components/navs").then(function() {
                            return resolve(i("4691"));
                        }.bind(null, i)).catch(i.oe);
                    }
                },
                computed: function(e) {
                    for (var t = 1; t < arguments.length; t++) {
                        var i = null != arguments[t] ? arguments[t] : {};
                        t % 2 ? p(Object(i), !0).forEach(function(t) {
                            l(e, t, i[t]);
                        }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(i)) : p(Object(i)).forEach(function(t) {
                            Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(i, t));
                        });
                    }
                    return e;
                }({}, (0, o.mapGetters)([ "configs", "user", "mainColor", "iphoneXStyle", "isIphone" ])),
                data: function() {
                    var e;
                    return l(e = {
                        cur: 0,
                        tabs: [],
                        messageList: [],
                        isShow: !1
                    }, "cur", 0), l(e, "page", 1), l(e, "pageSize", 10), l(e, "windowWidth", ""), l(e, "type_id", -1), 
                    l(e, "height", ""), l(e, "isBar", !1), l(e, "loadingOk", !1), l(e, "isRequest", !1), 
                    l(e, "config", ""), l(e, "colorRgb", ""), e;
                },
                created: function() {
                    var t = this;
                    e.getSystemInfo({
                        success: function(e) {
                            t.height = e.windowWidth - 40;
                        }
                    });
                },
                onShow: function() {
                    var e = this;
                    (0, d.init)(e).then(function(t) {
                        e.isBar = t;
                    });
                },
                onLoad: function(e) {
                    (0, n.isEmpty)(e.pid) || u.default.commit("config/SET_PID", e.pid), (0, n.isEmpty)(decodeURIComponent(e.scene).split("pid=")[1]) || u.default.commit("config/SET_PID", decodeURIComponent(e.scene).split("pid=")[1]), 
                    this.type_id = (0, n.isEmpty)(e.type_id) ? -1 : e.type_id, this.getList();
                },
                onShareAppMessage: function(e) {
                    var t = (0, n.isEmpty)(this.user.id) ? 0 : this.user.id;
                    return (0, n.isEmpty)(this.type_id) || this.type_id, e.from, {
                        title: this.config.title,
                        path: "/forum/list?pid=" + this.type_id + "&pid=" + t
                    };
                },
                onShareTimeline: function() {
                    var e = (0, n.isEmpty)(this.user.id) ? 0 : this.user.id;
                    return (0, n.isEmpty)(this.type_id) || this.type_id, {
                        title: this.config.title,
                        query: "type_id=" + this.type_id + "&pid=" + e,
                        imageUrl: ""
                    };
                },
                methods: {
                    tab: function(e, t) {
                        if (this.cur == t) return !1;
                        this.page = 1, this.cur = t, this.type_id = e.id, this.messageList = [], this.getList();
                    },
                    del: function(e) {
                        var t = this, i = {
                            info_id: e.id
                        };
                        (0, s.myForumDel)(i).then(function(e) {
                            t.page = 1, t.messageList = [], t.getList();
                        });
                    },
                    pause: function(e) {
                        this.messageList[e].isShowAudio = !0;
                    },
                    end: function(e) {
                        this.messageList[e].isShowAudio = !0;
                    },
                    timeupdate: function(e) {
                        var t = JSON.parse(e);
                        this.messageList[t.index].sliderValue = Math.ceil(t.currentTime), this.messageList.map(function(e, i) {
                            e.hasOwnProperty("isShowAudio") && i == t.index && "end" != t.isShowAudio && "pause" != t.isShowAudio ? e.isShowAudio = !1 : e.isShowAudio = !0;
                        }), this.$forceUpdate();
                    },
                    getList: function() {
                        var t = this, i = this;
                        i.loadingOk = !1, i.isRequest = !1;
                        var o = {
                            page: i.page,
                            pagesize: i.pageSize
                        };
                        (0, s.myForumList)(o).then(function(o) {
                            o.list.map(function(e, t) {
                                if ((0, n.isEmpty)(e.audio) || (e.durition = (0, r.formatSeconds)(e.audio_durition), 
                                e.audio_duritions = Number(e.audio_durition), e.sliderValue = 0, e.isShowAudio = !0, 
                                e.audios = [ {
                                    src: e.audio,
                                    play: !1
                                } ]), !(0, n.isEmpty)(e.video) && parseInt(e.video_height) > parseInt(e.video_weight)) {
                                    var o = i.height / e.video_weight;
                                    e.videoHeight = parseInt(e.video_height) / parseInt(e.video_weight) > 2 ? o * e.video_height / 1.5 + "rpx" : o * e.video_height + "rpx", 
                                    e.videoWidth = i.height + "rpx";
                                } else if (!(0, n.isEmpty)(e.video) && parseInt(e.video_weight) > parseInt(e.video_height)) {
                                    var s = i.height / e.video_weight;
                                    e.videoHeight = s * e.video_height + "rpx", e.videoWidth = parseInt(e.video_weight) / parseInt(e.video_height) > 2 ? i.height / 1.5 + "rpx" : i.height + "rpx";
                                }
                            });
                            var s = i.messageList, a = o.list;
                            s && 1 != i.page && (a = [].concat(f(s), f(a))), i.messageList = a, t.loadingOk = !0, 
                            t.isRequest = 0 == i.messageList.length, e.stopPullDownRefresh();
                        });
                    },
                    goDetail: function(e) {
                        (0, a.route)({
                            url: "/forum/detail",
                            type: 1,
                            data: {
                                id: e.id
                            }
                        });
                    },
                    onPullDownRefresh: function() {
                        this.page = 1, this.messageList = [], this.getList();
                    },
                    onReachBottom: function() {
                        this.page++, this.getList();
                    }
                }
            };
            t.default = g;
        }).call(this, i("543d").default);
    },
    a93b: function(e, t, i) {
        i.d(t, "b", function() {
            return n;
        }), i.d(t, "c", function() {
            return o;
        }), i.d(t, "a", function() {});
        var n = function() {
            this.$createElement;
            this._self._c;
        }, o = [];
    },
    aa12: function(e, t, i) {
        (function(e) {
            i("1067"), n(i("66fd"));
            var t = n(i("3e3b"));
            function n(e) {
                return e && e.__esModule ? e : {
                    default: e
                };
            }
            wx.__webpack_require_UNI_MP_PLUGIN__ = i, e(t.default);
        }).call(this, i("543d").createPage);
    },
    af48: function(e, t, i) {},
    b36e: function(e, t, i) {
        i.r(t);
        var n = i("3ee0"), o = i.n(n);
        for (var r in n) "default" !== r && function(e) {
            i.d(t, e, function() {
                return n[e];
            });
        }(r);
        t.default = o.a;
    },
    d219: function(e, t, i) {
        var n = i("af48");
        i.n(n).a;
    }
}, [ [ "aa12", "common/runtime", "common/vendor" ] ] ]);